App crashes on startup.pl