some changes in production rb file