first magpi scripts