Wrote the mouse autoclick code