added mkgallery
created setup script and fixed externalmonitor script