Adding curl redirect option (-L).