option to use coordinates from another file, bug fixes