Fixed native functions and example.txt will work now