On second look, removed calls to parameters.put - those are only for console arguments.