adding working code for multi-siteDev