adding script rails way