Add replica scripts