added usage printing to applydt upon wrong usage