made env work with arguments if needed