Fixed issue with lua scripts copy