Slightly improve the parsing of custom scenes configuration file