EZP-22408: implemented cleanup script