Add opts parsing snippet & fix bootstrap.