SRL Functions to aid in script writing