Forgot to put the write_textbook file in the commands module. Fixed!