Removed hardcoded paths and replaced them with a config file.