renamed execute function to commandExecutor