Upload main script