Adding an argument to set the base path