move staging fs prep to function
stage-internal as user not root