move install and config to the top