Added selectpic option to the library. Documentation updated.