added beginings of script library