Make modules attribute an array. Add gd and curl.