Script to autoconfigure tablet when connected.