Update railsScript.sh