Fixed Plugin script
Fixed cronjob