changes to wrapper scripts