Added on load function.
Merge branch 'master' of github.com:FifteenFifty/Mactics