a few syntax errors fixed
made check_dir(). used os.path.isabs() instead of checking the beginning of the path string. fixed setup_folder_out call reference order. Still working out variable flow inside of process_urls.