Upload local codes