Merge PS scripts