Cleanup tabs from the python script