added an environment variable to the flash on create and updated the destroy flash to be more serious