Updated code to reflect new post

Should be working now. The parser now uses 'on' and empty values from
the post.