Moved skinning logic to separate script.