removed function return value as it often produced strange outputs
added python specfic settings