added curl to script