codify the instructions

People are using this to setup their machines. It should be more robust.