adding support for multiple views and perspectives in preheat