Finished conversion script