Added semicolons at the end of all reg and unreg commands