adding script loader