fix syntax error and set urls in config file