Fixed morgan new config + bug in require