fixing a dirname bug introduced when versioning bins
fixing bug in grep for VIP
adding better guard criteria to avoid running services or cirros image again