Set x for script