Added appending to modules file.
Merged conflicts.