update init.d script and change in door pin settings