helpful script to deal with rspec