Added python and some custom functions