because apparently it works (the app directory)

and also minor changes here and there
yeah i just added the working appdirectory so i'd have it if i needed it