if the key "install" was used, the install would crash as the backwards compatibility checks were incorrect. Fixed a typo in the run function so pre- and post-install hooks now work correctly