Added auto refresh functionality to HTMLconstruct

As a result the script now takes one argument
mineCycle and DbFetch updated accordingly