Added simple way to configure the base directory