Added new log system and some missing actions

Also fixed not working commands