Adding option for setting default unit

I have added option to set default unit as env variable