fixed indentation, added selfs to function calls
added the parser to the translator script