Template download scriptfix