HCA EnergiScripts Code