use relative basedir for all code
change error messages in server