corrected variable reference for part reset function
added reset button for metal script