Added keep_releases and cleanup callback