Well it doesn't have to be in the algo script, can be anywhere and just imported. I might be misunderstanding what you mean though.