Add auto upload functions.