Just an edit of DepTheBass's script