Massive changes regarding rails