Reworked the original script 'handle_url' to work specific to douglas