fix a bug in guest install script; add a dev script for setting up default debug-keystore