removed mjpeg server library and added environexit