change position of defining script variables
error-image if configdata are missing