Change loader to python3