term readkey for example scripts