Initial commit of attractor script