script proxy implementation