Cleaned up argument passing

and added python printer