fixing path to rails script