add in lock to stop install from re-running