Fix Atom script