Fixed up local variable and cleaned up install