added aplescripts from bsmf