adds optparse
passes flags over to the commands
renames commands to match filename