Use %s instead of .format for string replacement. Revisied the documentation.
Changes is now determined by simply comparing before,after and cleaned (purge and/or force). Doc is updated.