Bugfixes on server compatibility & server path (subdirectory/root directory)