Fixed order of included scripts for bacbone
Added some logging to the console.