Actually works now. Still working on argument passing.