Updating the rails module for general use on all server locations.