changed lots of things + chmod