Added conf file for views and some minor fixes for view python queries