Change rails startup scripts for rails 4