Made it useful for scripts