adding ignore and directories