added script for enabling upgrade buttons