before upload to linux