change of document file and make rb file in executable file