adding lock file to prevent multiple instance glitchiness