added some basic args handling