modify cms to allow attachment placement