first crude version of a bootstrap script