added option parsing to script from bin, replaced $NO_CONFIRM by -y|--yes arg