Modified several files to fix missing boilerplate or if the $base variable
wasn't included or didn't point to the base directory of the software.