Fix for python 2.3 and add support for "cd" command in aliases

Fix for python 2.3 and add support for "cd" command in aliases