Why is the scheme getting deleted after each run?