script can now cope with windows formatted genes_file