updated comment about setting runtime arguments, fixed crashing bug