Adding variable sub to confing