script for elementary if added