updated dsp file to include lua specific functions