add-submodule.rb script for common submodule types