Added installation script and advanced support for aliases and functions