Fixed bugs with magnets
Merge branch 'dev-magnets' of https://github.com/alex-lawson/sb-automation into dev