Refactored env variables and cluster setup, added warning for missing license