Load Script Function In Python