removed syntax errors

cleanup script in management needed some do block’s