made the app argument friendly