added arguments and folder creation