Updated replica context and package requirements