add quotes around public_url

python substitution expression %(blah)s causing shell error