add basepath to be the directory name of the configuration file as requested by sever...