forked from https://code.google.com/p/addonscriptorde-beta-repo/