added auto_select_first. Resolves #10