moving $glexec_wn_package as it is not initialised before called. This way around it should be much cleaner.