Improved task importing to support more attributes