More options and filewriting