preproduction environment script now deletes old revisions