Automatic write before make