added function from firegento to disable modules