updates to sitegen logic