load from /sources, rewrite some things to be *nix compatible