Fix for local directories