Fixed exception as startup, apppath was wrong.