added script to compile chapters on their own