Removal of BOM, fixing of syntax