fixed a bug in the script and updated python scripts to read CFinder files