testing script working now, ability to cheat on phase offset