Replaced al "VERSION" constants in header to check if file is called by itself, now checking independent of any global or constants