tweaked bootstrap to use options and return result of last shell command