added exclude inactive to environments