changed load order of scripts