update config and ruby code, should be working now