Added some scripts to the views