changed hard coded RS references to use config.js values