Convert now properly modifies the script

methods weren't passing by reference like I thought.