Set shell properly