compatability with python2.7 + improving script dict to npz