fixed issues with command line excludes