States scramble to track federal stimulus bucks