regenerating lock files