CheckUpdate - add UpToDateLocal and edit if then else structure

add UpToDateLocal - which will generate up to date host only if its the first run or if other source will be downloaded. Local only host does the same

UpToDate got the "OR Not Running" condition too, but if there is no local file and its the first run they should not be uptodate anyway
fix operand