Fixed looping bug on install