Fixed args to array input to make it work on win machines