added the option to have a custom option template in the select box