changed premissions on some files, and fixed python2 issue