Advanced shell scritps