added functionality for auto-install