Add kwargs to permit additional arguments -> Popen
Improve environments related methods