alias-ended: split into two scripts