Instead of echoing the env info from the script, there could be a separate command that would print the relevant info.