some useful command lines & idl procedures