added license check to validate phase