Add static dir mapping.