#fb #deployment: moved appid inside a script; moved upload shim script include to the top