[script] add option to skip dependency install