Generate production tree alongside running task
Handle null