fixes bug where registered script path would not have any directories.
adding docs and updating version