Activity: move script loaders into new file