rebased on box 0.38 glob, os modules