Upload system wrote in lua