added prebublish script, fixed main in base-traceur