Upload Main Code