changed loader to python