Added .dat checking

and intial install