Change the base directory