Remove unnecessary views and scripts