commit after writing to contrib file