Added writeSHP again