Updated named pipe and computation code