Rotate raspberry pi camera image

I know I can use vf and hf when taking pictures with the pi camera in a terminal but does anyone know if a script could be written to do this when starting up? My camera is turned 90. Or maybe I should print a new back for my pink camera so the whole thing is turned instead it may be easier.

Did you ever get some resolution to this? I just had to change my mounting strategy and cannot figure out how to get it done. It has been a feature request since 2015 though…