fixed the ability to pass parameters to the program