moving things around, fixing getopts shuffle error