Added a script to add value to hidden element