Added env option to build command