Fix secrets cap task, added multi site support