tweaks for running app in production, view cleanup