set autowrite on