Python script to (semi-)automate uploads