Added in functions for auto-clicking and fixed the hook