Added physical interaction detection into the build flow.