Add upload and fix bugs in Pitfowarding