main.c initial upload