Updating to new StaticDirs API