Add some commands and set proper arguments for xdotool