updated axolotl.py to use hook_process