updating to use ENV variable instead of argument