Tweaks import task to use newer syntax and add Site as an attribute