modified execute command