modify post script to add default value