Fixed environment code and added temporary show instance