make endpoint.rb runnable