moved install out of main example