You need to execute the code above every time you run your app. It replaces _G.require with a helper function.
The script is called patcher, that doesn’t mean it modifies your phone. See the product description (https://marketplace.coronalabs.com/corona-plugins/patcher). The concept was, to enable hot-patching a app or game by downloading replacement scripts to documents.
Not sure if your last sentence was a question, but I can’t give you much help on debugging animations.