I did some more experimenting. So executing from menu now works however it does not seem to work from event based GCODE (@execute TPLINKOFF).
<command>
<name>TPLINKOFF</name>
<confirm>Really turn off TP Link Plug?</confirm>
<execute>/home/pi/hs100.sh 192.168.1.120 9999 off</execute>
<local>true</local>
<remote>true</remote>
<print-permission>true</print-permission>
<add-permission>true</add-permission>
<del-permission>true</del-permission>
<config-permission>true</config-permission>
</command>