Script to manage something that should allocated, released later