added support for attaching already attached screen
added script as workaround for ubuntu forgetting keyboard shortcuts