take env as argument (optional; defaults to devel)