try to print errors
hey, forgot to verify
test for printing errors
env.dup to protect from the app modifying env! bad, bad...