Import/Export Program

I am Using KUKA SIm 4.1. I am lokking to call the IMport KRL and Export KRL function from a script or set them to import or export after changes or a set time. Is is possible to be any of these thigns I can currently only manual do these using these menus.
Screenshot_20230126_011731
Screenshot 2023-03-28 183103