bug fixed where skeleton displays an error even when ok
only update if file exists