add focus command. update pause command to convert milliseconds to seconds