Removed writegoodmode