support scripts directive