fix a issue about executable flag and remove useless archiving process