added some command line flags to make everything a bit easier to configure, also fixed windows-style line endings