[Task] adjustments to make maintenance scripts callable via CLI and restricted browser access to some internal directories