get scripts loading in the right places