initial untested smokey script