That's good, I'm sure he had some sand inside him, they lick everything and their natural environment is the Australian desert, which has no sand, just solid, rocky terrain. I'd remove the coco husk, again he'll no doubt eat it, and that stuff can be worse than sand. Just put down clean, dry paper towels for now that you can replace as they get soiled. You can worry about getting tiles or non-adhesive shelf liner, or a bigger carpet later, just get any loose substrate out.
Beardies have very specific UVB and UVA lighting needs compared to any other reptiles like turtles, or tropical lizards. Yes, you absolutely must have a long UVB tube and matching length fixture, for a 50 gallon tank you'll probably want at least a 24" long UVB tube. It must be a 10.0 UVB tube, no lower like a 5.0 or a 2.0, they are worthless to a beardie. Reptisun 10.0 tubes are good, but right now the 10.0 T%HO tubes, which we usually recommend, are having a recall issue, so right now the only Reptisun 10.0 tubes to buy are the T8 strength, which are very good, but must be mounted underneath any mesh lid, as they block up to 50% of the
UVB light, and the T8 tubes are not strong enough to penetrate the mesh (and never glass, no
UVB light penetrates glass or clear plastic). Most people mount the UVB tube fixtures inside their tanks by either using 3M Command Hooks or by cutting holes in the mesh and using large zip ties to strap the tube fixture on the underside of the mesh lid, on the Hot Side of the tank, directly over the basking spot. For a T8 tube, the basking spot has to be within 6-8" of the unobstructed tube. Arcadia is the best brand as of right now, but must be ordered online in the United States, Amazon.com is good... either a 12% tube, which equates to the Reptisun T8 tube and must be mounted under the mesh lid and withing 6-8" of the basking spot, or an Arcadia 14% tube and fixture, which can sit on top of the mesh but still must be within 11"-12" of his basking spot to be effective. Always check all tube fixtures to make sure they have no clear, plastic safety covers over the tubes, they block all
UVB light and must be removed.
Please get rid of the red bulb immediately, as bearded dragons see in full color, and any colored bulbs at all, whether red, blue, yellow, green, black, purples, "moonlight", etc. will cause a host of issues, most importantly they confuse their times of day and night, and make it very hard to see food. You only need a total of 2 lights, possibly 3 depending on how big an enclosure you have, a 50 gallon should be good with 2 unless the Cool Side is very dark. You need #1) the UVB tube, and #2) a bright white basking bulb, which will provide both the basking light and the heat for the tank. For that size tank you probably need a 150 watt bright white basking bulb, but no need for specialty reptile basking bulbs, most of us use regular, household, halogen indoor flood bulbs, like you buy at Lowes or Home Depot. So I'd get the adequate UVB tube mounted correctly, based on whichever one you buy, and then get a 150 watt bright white basking bulb, and you want them both right alongside each other on the Hot Side of the tank, both directly over the main basking spot (which must be within the correct distance of the UVB tube, based on whichever tube you buy). You want him to get both lights at the same time while basking, this is replicating natural sunlight, and it's getting his basking spot up to the correct temperature range. You can always add a second bright white basking bulb on the Cool Side, obviously of a much, much lower wattage, if it's very dark on that side, or if the Cool Side temperature is too cool. But try it with just the single, higher wattage bright white basking bulb and the UVB tube first.
You want his basking spot temperature for an adult between 98-103 (right around 100 degrees), his Hot Side Ambient temperature between 88-93 degrees, and his Cool Side Ambient temperature between 75-80 degrees. The absolute maximum tank temperature/basking spot temperature is 110 degrees. Most babies like basking spots between 105-110, then as they age they tend to like it more around 100 degrees, but if you find that he is constantly very dark while on his basking spot that is around 100 degrees, feel free to lower the basking bulb a bit to bump up his basking spot temp a couple degrees, as long as it stays at 110 or below.
He needs no nighttime heat source as long as his tank stays at 65 degrees or higher. The desert is pitch black and very cool at night, considerable cooler than the daytime temperature, and that's how they are comfortable sleeping: Cool and in total darkness. Most people keep their homes at or above 65 degrees at night, so they need no nighttime heat source at all, and any lights on at night disrupt their sleep...if by chance you keep your house under 60 degrees at night and his tank drops below 65 degrees, which I doubt, then buy a very low wattage Ceramic Heat Emitter (CHE), which screws into a normal light socket but emits no light, only heat. As I said, he most likely won't need it.
Both his UVB tube and his bright white basking light should be on every day for at least 13-14 hours. That's an adequate photoperiod for a beardie daily. Please be sure that his lights are on in the morning for at least an hour or two before feeding him anything, and that they stay on for at least an hour or two after his last meal of the day before turning them off for bed, this will ensure he properly digests his food.
Oh, and please, spend $10 at the pet shop for a digital thermometer with a probe on a wire, as those stick-on thermometers are all off by up to 20 degrees, and in addition, you are not able to measure his basking spot temperature with one, which is extremely important, Allow the probe to sit on each spot you're measuring for at least 20-30 minutes before reading the temperature, and do this each time you move the probe to take a new temperature.
Ask any question!!!! Congrats, and thanks for taking him in!