Remove one more line
Move wopts inside main