Add options to skip auth and only run on secondary