have (hopefully) finished script working