Cleanup setUpEnv interface (pass env)
Add LD_LIBRARY_PATH and TS_ROOT to env blacklistedkey