Script Register Fix