Missing semi-colon throwing syntax error
Fix for imageconfig->altered being in wrong scope