latest version with env support