Updated local-install.sh with user execution check