Add check for server launch