Add default appname value

By default appname will be current directory.