Fixes for invoking new AD sync rake task