updating dist to not use chmod