execute command as script