Did you ever figure out the code to this problem? I'm looking to answer the same question, and I have not found any resources that address it. Thank you!