I did not know that the order of the command line arguments is important now everything works fine