launch script rewritten - python code now and is aware that more than one parameter might be passed.
master db log created.
energy sum better coded (only values for good machines are considered
now).