split initialization from execution script
updated to ghost 0.3.3