updated to check for commands