bassbag, could you send the file (script) to the developers of avast too?
support@asw.cz or support@avast.com