tested python compression script