Added run script and support for habmin