cleaned up remaining script references to keep views dry