Run script with serializing