Reverting to the old script to fix upload issues