bug fixes and "once" parameter to be used with cron/i3