added basic functions and shellscripting