more flexible, the commands got using ssh, login and locking the screen can be replace or extended

Signed-off-by: Mattias Andrée <maandree@operamail.com>