Change is dir default to False