change to compile way to call script
change to compile way to call script