Made system work on the server side.