Create railsrc functionality