changed hardcoded urls to variables

    -added variables to config.yaml.example
    fixed perl scripts to use url variables.