Command-line argument parsing and bugfix

Added command-line argument parsing to read job file and fixed if source excludes are not given.