database in shared path + some adjustements in create_locations