Update AUTHORS and HISTORY for #183
Cleanup and apidocs
Rename _run_hook to run_script