add curl as variable and allow http port