changed to rails env