edit script - make function