Added the keys for admob and bugsense
Checks if last directory exists before using it