Changing arg parsing to env variables