added check for utf-8 BOM which linux needs aparently