Adding 'validate' command