remove open apps from script
start to remove open line from prefs