migrating site to foundation 5. DEVELOPER-1010

Updated for foundaiton 5, DEVLEOPER-1010