clean up including, deep_dup the initial environment to make the requests, update doc