Make sure the scripts you merged with have all the proper references
i.e.
using daat99;
If you use Visual Studio 2015 (its free,) you will be able to actually see all of the errors in real time and find what "using xxx;" you need to add to the top of the script to kill the errors.