added resources and makefile
fixed program for use with older rubies on server