Self-install routines added

Added update and dependancy installations, ready for testing