Resolves #27, set environment attributes