added rake task to run and handle curl