Upload base code