split remote and bos into separate dirs