have you tested this? I don't see any $m variable in the file...