Renamed defined constant SRCDIR to APPDIR