Scotland gears up for recycling legislation