adds cleanup-exec for backwards compability