added retention scripts from sd-qmaster