Ok. So I must has been having a brain lock, because I never noticed that the database fields were commented out. In any case I got the script to work, but I'm not seeing a change in my channels. Am I missing something? Should be I be launching the script from a particular directory, and do I need to do anything after the script completes its run?