Fix #13: live session check issue
Fix #14: Disk already opened checking fixed
Fix #12: The script now fails when executed multiple times