Scripts for automatic upload