What version of avast are you using?

(I seem to recall there was a problem that was solved by a script shield cache introduced in the latest version)