Better ignore settings. Fixed a location/target directory bug.