add modules directive