timing works in myscript