make it more compatible to non-darwin os and also start publishing org files