add template parameter to shell settings writer