Fix nested execute command when sourcing scripts - caused duplicated logs