key_commit: Swapped @d2 for @d1 in several locations to prevent an issue that has arisen with entering a four digit year.