remove config specifics and add template