Adding script documentation and ability to specify similarity properties