changed script to remove the queried genome