Fixed Command calls for readAll and writeAl to allow multiple runs. Also added additional Linux support