improved lua scripts and added yarp scripts