add function of argument for ns-frame.sh