Adjust intermediate directory
Use new methods to execute http requests