Function 'ds.checkvar' ready and inserted at the top of the other functions.