swop app and server