update the script to support the re-org of code base to seperate files