Misc SR5 related python code