add modules and dist directories