local opts set up