added environment option that'll set a default application environment
(if specified)