Updated build process to properly build auto included scripts