initial draw script