add rails in script