load script dynamically