added environment permissions