Fixed command line bug when specifying program locations.