changed to automatically set app name