reworked storing custom plugin dir