[imp] avoid to use var to store scripts