Simple document management scripts