Are they currently shedding? Or are they just moving around rubbing on everything. If your snake has gone into its blue stage of shedding, you should just leave them alone until the do shed.
And just a little warning, after a lot of my snakes shed they immediately go to the bathroom. Just something to watch out for.