Options

I added some options to make this tool more *nixy and usefull :)

(Sorry for being a bit lazy and depending on optimist there)