added referer condition for modules