fix s-dir to accomodate new s-file ordering