improved importing of tasks