extend generate-interface-implementation.sh script so others can use it generally

--HG--
extra : amend_source : 57194e7ec0e902de1db2391a06f240b7ac7c3904