fixed a problem with the linknig script for cron and init