Revised the public_url patch