Fixes bugs with batch site creator script