Add app.setup
Add copyfile method