Changed the type of the input field for the script/src
Changed nonce_field location to avoid issues with new posts