run script from rails root