Scripts: Slightly improved init procedure, but somewhat untested