v1.3

added logic behind selection of options,