Module generation script modified.