Removed redundant addenv call