used python3 instead of python2
fixed misc