add masterlist flexibility to upload/cleanup script