fixed messaging and site in readonly not set correctly when script fires