little adjusts on publish script
turning assets import relative to work properly when not hosted inside root directory of a domain