change mode
make CURL a variale