Add base directory flag