Added third argument to print env. variables.