DEV-91: initial version of cleanup script