changed the way entry point arguments are parsed