Setup cross lua file function calls

it might be worth reading over the code to see if you can work it out if
not i can walk you through it.