Set proper order of tasks and only install Node if needed