Add extract mode on server side