Add check if interactive and pathedit function fix