corectly binding lua
updated the key bindings to the new standard
fixed script to use the table binding