add maintenance command, cleanup code
add bash scripts to trigger commands