Fixing errors in the server and modules packaging