change scripts mode & clean folder