Update script to add to wordpress correctly