Added recycle command and moved to loop.index on bases