adds README
adds checks for command executed