Fixing apply script paths