updated code to output absolute value of field
added example data directory