Added ability to run commands when an island is reset.