added default option for 'env'
fixed indents