added option to choose what views load