Further debugging of populate script