del unused distribution scripts, fix modes on source files