modify to path OS specific rules