Revert "Revert "print all environment variables""

This reverts commit bd254e0747428a1323c9cdb78befd83b9f8c97b0.