added -y option for auto-yes to prompts