Select_Object is a protected keyword for a particle flow constructor. Try replacing Select_Object withMy_Select_Object and your script should then run correctly.
It can be good to leave the original post up instead of removing it, that way when people come across it in a search they'll see the full issue and how to fix it.
Replies