Fixed so it works without arguments. UI locks when processing