Change fwtool to support Script only as well as FileWrite tasks.