added interactive mode and easier opts