all modifications to original script