Changed App class to determine scriptPath value only once at init