Finalizing CTs cleaning python script.