Updated logic for modified site

Change-Id: I3543f9ea8cf5ca9ae29e91b9f502b6a304d20271