setting up command execution