fixed channel name retrieving from script name