moved back to rails for and added some configs, last time I promise