added script and json configuration