Updating the script to make link for extensions into /usr/local/lib
adding some comments