moves script dependencies into libs directory