updated dialogues,dialogue loader to python format