script for installing on X Windows