mapping to local directories