avoid signed / unsigned warnings
add a trivial cleanup script