fix bug - getting script location for install and renames arguments