Fixed path issue with curl