did stuff to finalscript to avoid ds_store