Got taking arguments working fully, had to pull out wait character into separate variable. Also restructured args