set static dirs.