use alias for session id; minor fix for directory processing