Added Python mode