fixed everything. scripting is dangeresque