updated production rb file