added before scripts and rspec command
added index view