Adding permission setting and silent options