added init script for sd