Fixed the loading of the dashboard scripts, feeding them the needed args and fixing the path that they are fetch from.