decided to take a new approach and use the modulemanager. Rather than changing files, it creates a file for modulemanager to use