Take SAGE config for view from config file
Minor cleanups
Fix non-sage view execution