Removed static input variable

Now the code uses the data passed when the user curls data as opposed to
a hard coded value.