Initial commit
Fixed environment check