get testing script working