Code now accespts comand line variables but default values are there as well to save time