moved scripts at bottom