Making it work with youtube appspot publisher