Changing before script to try and get around travis permissions errors