Added door open logic