converted tabs to spaces
add long form flags