added -e option to print the current environment