modified linux and server script, first running prototype