modified prod rb file