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

(cherry picked from commit 24b5bf85a8576c15983621de823ca7adad151c6a)