Made changes to allow for admob support