MSO. tmp url and other fixes