fixed calls to loader scripts.