add script that writes in dependencies of all modules