modified script and json