To add the Script:

chmod +x /etc/init.d/yourscript
update-rc.d yourscript defaults

To remove the Script:

update-rc.d -f yourscript remove