Fixed bugs in install and private share for samba script