Add a base directory option