Added onrails path for the player