fix: popup generated by script invokes command twice
ver.1.8.2