Bug fix
Added addFunctionByString and added the extension in addShare.
Merge branch 'master'