Added delete after play

Only deletes if it has been set in the json manually temporarily