Added code to append the slider controls and execute the update script to the top of the file