rpkg_functions updated and moved to cron folder