Rewrite of init script for symlinks