add subpathauto and redirect dependencies