updated initialize script for unicorn