Modified index file to accept the perameters and handling the errors as
well(if there any)
inputs folder
scripts file
Error Log File