Added the functionality of passing arguments from the form (Accepts input from the form)
The script receives input in the format <no-of-form-args> <arg1> <arg2> <argn> <old-hash> <new-hash>