delete password if empty, tweak app script