remove rails stuff
reorganized plugin order