added version parsing into install script