Base directory is now defined externally