Add killfox and killjava functions