Based off aoshiftctrl `htaccess` ..this updates the script breaking errors and makes the functions objects in a Class instead.