automatic build in env