Removing bom from two scripts