Added flag for automatic updates