Changing arg parsing to env variables

That sounds reasonable to me