added lock and temp plugin