little bit more script binding work