removed a debug print statment and restored calculated url