fix literate script
modify qimen and add routes