wip changed method for altering Makefile.shared