moved input binding to script
glsl 1.3, entity updates