make run script fit Haxe3 API