Auto dismount functionnalities

V1.1 added autodismount functionalities