Give environment a default value, clean whitespace