Modified script to be more generic and just dump all environment
variables.