added code to verify required commands.