Fixed homepath in simulate script