Check that selected attribute is numeric
Add usage message to script and readme