Added default argument and option capabilities, added directory validation and creation.