Create magnitude and loader scripts