Set the rails variables