added -p for provider script arg